<%@ page import="your_car_status.RepairShop" %>
<!DOCTYPE html>
<html>
  <head>
    <meta name="layout" content="main">
  <g:set var="entityName" value="${message(code: 'repairShop.label', default: 'RepairShop')}" />
  <title><g:message code="default.edit.label" args="[entityName]" /></title>
</head>
<body>
  <a href="#edit-repairShop" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
<div id="edit-repairShop" class="content scaffold-edit" role="main">
  <h1><g:message code="Edit Repair Shop" /></h1>
  <g:if test="${flash.message}">
    <div class="message" role="status">${flash.message}</div>
  </g:if>
  <g:hasErrors bean="${repairShopInstance}">
    <ul class="errors" role="alert">
      <g:eachError bean="${repairShopInstance}" var="error">
        <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
      </g:eachError>
    </ul>
  </g:hasErrors>
  <g:form method="post" >
    <g:hiddenField name="id" value="${repairShopInstance?.id}" />
    <g:hiddenField name="version" value="${repairShopInstance?.version}" />
    <fieldset class="form">
      <g:render template="formRepairShop"/>
    </fieldset>
    <fieldset class="buttons">
      <g:actionSubmit class="save" action="updateRepairShop" value="${message(code: 'Update')}" />
      <g:actionSubmit class="save" action="listRepairShop" value="${message(code: 'Return')}" />
    </fieldset>
  </g:form>
</div>
</body>
</html>
